package com.simplecontact.classes;

import android.net.Uri;
import android.provider.BaseColumns;

public class Calendar {

	public static final String AUTHORITY = "com.simplecontact.databases.provider.Calendar";
	public static final String CALENDAR_TABLE_NAME = "CALENDAR";
	
	private Calendar(){}
	/**
     * Calendar table
     */
    public static final class CalendarColumns implements BaseColumns {
        // This class cannot be instantiated
    	private CalendarColumns() {}
    	
    	/**
         * The content:// style URL for this table
         */
        public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/calendar");
        
        /**
         * The MIME type of {@link #CONTENT_URI} providing a directory of calendar.
         */
        public static final String CONTENT_TYPE = "vnd.simplecontact.cursor.dir/vnd.simplecontact.calendar";

        /**
         * The MIME type of a {@link #CONTENT_URI} sub-directory of a single calendar.
         */
        public static final String CONTENT_ITEM_TYPE = "vnd.simplecontact.cursor.item/vnd.simplecontact.calendar";
        
        /**
         * The default sort order for this table
         */
        public static final String DEFAULT_SORT_ORDER = "_id DESC";
        
        /**
         * The datetime of calendar
         * <P>Type: DATE</P>
         */
        public static final String DATETIME = "_DATETIME";
        
        /**
         * The content of calendar
         * <P>Type: STRING</P>
         */
        public static final String CONTENT = "CONTENT";
        
        /**
         * The urlmusic of calendar
         * <P>Type: STRING</P>
         */
        public static final String URLMUSIC = "URLMUSIC";
                        
    }
}
